package lgq.service;

import java.util.List;

import model.TrainProperty;

import dao.TrainPropertyDAO;
import dao.impl.TrainPropertyDAOImpl;

public class TrainPropertyManager {
	TrainPropertyDAO tpd=new TrainPropertyDAOImpl();
	public List<TrainProperty> getAllTrainProperty()
	{
		return tpd.getAll();
	}
	public TrainProperty getById(int id)
	{
		return tpd.getById(id);
	}
}
